Test Series - computer fundamental

Test Number 45/95

Q: The word ____________comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi.
A. Flowchart
B. Flow
C. Algorithm
D. Syntax
Solution: The word algorithm comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi.
Q: In computer science, algorithm refers to a special method usable by a computer for the solution to a problem.
A. True
B. False
C. none
D. ..
Solution: The statement is true. This word algorithm refers to a special method usable by a computer for the solution to a problem. The statement of the problem specifies in general terms the desired input/output relationship.
Q: This characteristic often draws the line between what is feasible and what is impossible.
A. Performance
B. System Evaluation
C. Modularity
D. Reliability
Solution: Algorithms help us to understand scalability. Performance often draws the line between what is feasible and what is impossible.
Q: The time that depends on the input: an already sorted sequence that is easier to sort.
A. Process
B. Evaluation
C. Running
D. Input
Solution: The running time depends on the input: an already sorted sequence is easier to sort. The running time is given by the size of the input, since short sequences are easier to sort than the longer ones. Generally, we seek upper bounds on the running time, because it is reliable.
Q:  Which of the following is incorrect?
Algorithms can be represented:
A. as pseudo codes
B. as syntax
C. as programs
D. as flowcharts
Solution: Representation of algorithms:
-As programs
-As flowcharts
-As pseudo codes.
Q: When an algorithm is written in the form of a programming language, it becomes a _________
A. Flowchart
B. Program
C. Pseudo code
D. Syntax
Solution: An algorithm becomes a program when it is written in the form of a programming language. Thus, any program is an algorithm.
Q: Any algorithm is a program.
A. True
B. False
C. none
D. ..
Solution: The statement is false. An algorithm is represented in the form of a programming language is called a program. Any program is an algorithm but the reverse is not true.
Q: A system wherein items are added from one and removed from the other end.
A. Stack
B. Queue
C. Linked List
D. Array
Solution: In a queue, the items are inserted from the rear end and deleted from the front end.
Q: Another name for 1-D arrays.
A. Linear arrays
B. Lists
C. Horizontal array
D. Vertical array
Solution: Linear arrays are the 1-Dimensional arrays wherein only one row is present and the items are inserted.
Q: A data structure that follows the FIFO principle.
A. Queue
B. LL
C. Stack
D. Union
Solution: The answer is Queue. A Queue follows the FIFO principle. FIFO stands for First In First Out.

You Have Score    /10